//
//  QRCodePermissions.h
//  AccountEasy
//
//  Created by 黄志刚 on 2020/8/13.
//  Copyright © 2020 AccountEasy. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface QRCodePermissions : NSObject
/// 是否允许使用相机
+ (BOOL)allowCamera;
/// 请求相机权限
+ (void)requestCamera:(void(^)(BOOL allow))completion;

/// 是否允许使用相册
+ (BOOL)allowAlbum;
/// 请求相册权限
+ (void)requestAlbum:(void(^)(BOOL allow))completion;
@end

NS_ASSUME_NONNULL_END
